package com.jsgt.greekfire.bean

class UndelegateAccountBean {

    /**
     * visible : true
     * txID : dca0f30dfeef17254dbe75555134dee1a13bc5a0b6ac3ea90d5b937dc989f2e2
     * raw_data : {"contract":[{"parameter":{"value":{"delegate_address":"ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY","owner_address":"ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k"},"type_url":"type.googleapis.com/protocol.UnDelegateContract"},"type":"UnDelegateContract"}],"ref_block_bytes":"ca2f","ref_block_hash":"de053d67af76c1f5","expiration":1608109863000,"timestamp":1608109804832}
     * raw_data_hex : 0a02ca2f2208de053d67af76c1f540d8e0c4d6e62e5a65083812610a2f747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e556e44656c6567617465436f6e7472616374122e0a1541c864b49e2722b3d7af733e8903b099aa8efff00e1215412ad6ed2e752d8a3f8d160fda861c8100595e58b770a09ac1d6e62e
     */
    var visible = false
    var txID: String? = null
    var raw_data: RawDataBean? = null
    var raw_data_hex: String? = null
    var signature: String? = null

    class RawDataBean {
        /**
         * contract : [{"parameter":{"value":{"delegate_address":"ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY","owner_address":"ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k"},"type_url":"type.googleapis.com/protocol.UnDelegateContract"},"type":"UnDelegateContract"}]
         * ref_block_bytes : ca2f
         * ref_block_hash : de053d67af76c1f5
         * expiration : 1608109863000
         * timestamp : 1608109804832
         */
        var ref_block_bytes: String? = null
        var ref_block_hash: String? = null
        var expiration: Long = 0
        var timestamp: Long = 0
        var contract: List<ContractBean>? = null

        class ContractBean {
            /**
             * parameter : {"value":{"delegate_address":"ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY","owner_address":"ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k"},"type_url":"type.googleapis.com/protocol.UnDelegateContract"}
             * type : UnDelegateContract
             */
            var parameter: ParameterBean? = null
            var type: String? = null

            class ParameterBean {
                /**
                 * value : {"delegate_address":"ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY","owner_address":"ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k"}
                 * type_url : type.googleapis.com/protocol.UnDelegateContract
                 */
                var value: ValueBean? = null
                var type_url: String? = null

                class ValueBean {
                    /**
                     * delegate_address : ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY
                     * owner_address : ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k
                     */
                    var delegate_address: String? = null
                    var owner_address: String? = null
                }
            }
        }
    }
}